home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows News 2010 Summer - Disc 1
/
WN_Ete2010_CD1.iso
/
Onglet5
/
Weezo
/
Weezo setup.exe
/
{code_appDir}
/
www
/
themes
/
common
/
background.php
next >
Wrap
PHP Script
|
2010-05-19
|
2KB
|
37 lines
<?php
function displayMenu(){
echo '<div class="menuFrameBody" style="overflow:auto;position:absolute;height:100%px;width:218;left:0;bottom:0"><center>';
// display "logged as" message & logout control
outShadowBefore("185px");
// Account name
echo '<div class="frame1" style="background:white"><center><div class="frame1Header">'.cfUTF8Encode(cfUGetVar('name'))."</div>\n";
// Account icon
echo '<img style="border:1px solid black;margin-bottom:0.5em;" alt="" src="/gfx/icons/'.cfUGetVar('icon').'">'."<br/>\n";
// Async request indicator
echo outImage(outIcon('onSmall'),false,'id="asyncRequestIndicator"','position:absolute;left:13px;top:9px;visibility:hidden');
// Logout button
if(cfGGetVar('allowUserThemeChange')) echo '<div id="themeControl" style="width:185px;">'.outThemeSelectionControl('user',true,'GET')."</div>\n";
echo outButton(cfCaption('genLogout'),'javascript:logout()',outIcon('logout'));
echo "</center></div>\n";
outFrameShadowAfter();
echo "<br>";
echo "<br>\n";
// Display resources buttons
foreach(cfResourcesGetUser() as $value){
outShadowBefore("185px");
echo '<a href="javascript:'.$value['resourceJsLink'].'" class="menuLarge">'."\n";
echo '<span class="menuFrame">'.outImage($value['resourceIcon']).'</span>';
echo '<span style="overflow:hidden;display:block"><b>'.cfUTF8Encode(cfStrTruncate($value['name'],32)).'</b><br>'.cfUTF8Encode($value['resourceTypeLabel']).'</span>';
echo "</a>\n";
outFrameShadowAfter();
echo '<div style="line-height:5px"> </div>';
}
echo '</center>';
echo '</div>';
}
require_once('outputFunctions.php');
echo '<span onclick="window.open(\''.APP_SITE.'\')" style="color:white; cursor:pointer; position:absolute;bottom:7px; right:7px">Weezo - '.cfGGetVar('appVersion').' '.outImage(outIcon('logoSmall'),'#',false,'vertical-align:top; margin-left:1em').'</span>';
displayMenu();
?>